package com.momo.seckilling.dao;

import com.momo.seckilling.entity.ProductTypeInfo;
import com.momo.seckilling.mapper.ProductTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by li on 2019/2/2.
 */
@Component
public class ProductTypeDao {

    @Autowired
    private ProductTypeMapper productTypeMapper;

    public void saveProductType(ProductTypeInfo productTypeInfo){
        productTypeMapper.saveProductType(productTypeInfo);
    }
}
